package com.ngkj.zmfptback.sys.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ChenHN
 * @since 2021/12/1 creation
 **/
public class RoleEntity {

    private Long id;
    private String roleName;
    private String createTime;
    private String description;
    private Long parentId;
    private String roleCode;
    private String authStr;
    private String menuStr;

    public RoleEntity() {
    }

    public RoleEntity(Long id, String roleName, String createTime, String description, Long parentId, String roleCode, String authStr, String menuStr) {
        this.id = id;
        this.roleName = roleName;
        this.createTime = createTime;
        this.description = description;
        this.parentId = parentId;
        this.roleCode = roleCode;
        this.authStr = authStr;
        this.menuStr = menuStr;
    }

    public String getMenuStr() {
        return menuStr;
    }

    public void setMenuStr(String menuStr) {
        this.menuStr = menuStr;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getAuthStr() {
        return authStr;
    }

    public void setAuthStr(String authStr) {
        this.authStr = authStr;
    }

    @Override
    public String toString() {
        return "RoleEntity{" +
                "id=" + id +
                ", roleName='" + roleName + '\'' +
                ", createTime='" + createTime + '\'' +
                ", description='" + description + '\'' +
                ", parentId=" + parentId +
                ", roleCode='" + roleCode + '\'' +
                ", authStr='" + authStr + '\'' +
                ", menuStr='" + menuStr + '\'' +
                '}';
    }
}
